url = 'https://www.acwing.com/problem/content/4870/'

n,k = map(int,input().split())

q = n // k

res = (q+1) * k

print(res)
    